﻿using SCM.Common;
using SCM.Model.DBEntity;
using System.Collections.Generic;

namespace SCM.Servie.IBusiness
{
    /// <summary>
    /// 系统成分服务接口
    /// </summary>
    public interface IMaterialIngredientService
    {
        string Add(T_Material_Ingredient model);

        bool Delete(List<string> casNoList);

        bool Update(T_Material_Ingredient model);

        bool SaveOrUpdate(List<T_Material_Ingredient> list);

        T_Material_Ingredient GetById(string casNo);

        List<T_Material_Ingredient> GetList(string casNo,string cName, string eName);

        PageData<T_Material_Ingredient> Query(string casNo, string cName, string eName, PageInfo page);
    }
}
